echo "deb https://mirrors.ustc.edu.cn/kali kali-last-snapshot main non-free contrib
deb-src https://mirrors.ustc.edu.cn/kali kali-last-snapshot main non-free contrib" > /etc/apt/sources.list
apt update -y
apt-get install ssh git wget -y

sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config
sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh/sshd_config
service ssh restart

cpu=`uname -r`
amd64="amd64"

if [[ $cpu == *$amd64* ]];then
    wget -O frpc 'https://getfrp.sh/d/frpc_linux_amd64'
fi
chmod 755 frpc
ls -ls frpc
./frpc -v
./frpc -f gj7zahuedo3c6kyn:9692449